<!-- 
/*
 * @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");  
 * you may not use this file except in compliance with the License.  
 * You may obtain a copy of the License at  
 *     
 *     http://www.apache.org/licenses/LICENSE-2.0  
 *     
 * Unless required by applicable law or agreed to in writing, software  
 * distributed under the License is distributed on an "AS IS" BASIS,  
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
 * See the License for the specific language governing permissions and  
 * limitations under the License.
 */
 -->
 
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<div class="container-fluid" style="height: 400px;">
	<div class="row">
		<div class="col-md-12">
			<ul class="nav nav-tabs" role="tablist" id="${modalId }_tab">
				<li role="presentation" class="active"><a href="#${modalId }_user_create_tab" data-toggle="tab">详细信息填写</a></li>
			</ul>
		</div>
	</div>

	<div class="row margin_top">
		<div class="col-md-12">
			<form id="${modalId }_user_create_form" class="form-horizontal" role="form">
				<div class="form-body">
					<div class="tab-content">
						<div class="tab-pane fade in active" id="${modalId }_user_create_tab">
							<div class="form-group">
								<label class="col-sm-2 control-label">用户名称</label>
								<div class="col-sm-4">
									<div class="fg-line">
										<input type="hidden" id="${modalId }_modalId" name="id" value="${modalId }" />
										<input type="hidden" name="mcgUser[userId]"/>
										<input type="text" name="mcgUser[userName]" class="form-control" placeholder="请填写用户名称" />
										<!-- <span class="help-block"></span> -->
									</div>
								</div>
								
								<label class="col-sm-1 control-label">登录帐号</label>
								<div class="col-sm-4">
									<div class="fg-line">
										<input id="mcgUserAccount" type="text" name="mcgUser[account]" class="form-control" placeholder="请填写登录帐号" />
									</div>
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-2 control-label">登录密码</label>
								<div class="col-sm-4">
									<div class="fg-line">
										<input id="mcgUserPwd" type="password" name="mcgUser[pwd]" class="form-control" placeholder="请填写任登录密码" />
									</div>
								</div>
								
								<label class="col-sm-1 control-label">角色类型</label>
								<div class="col-sm-4">
									<div class="fg-line">
										<select name="mcgUser[roleType]" class="selectpicker form-control">
											<option value="admin">超级管理员</option>
											<option value="default">普通用户</option>
										</select>
									</div>
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-2 control-label">性别</label>
								<div class="col-sm-4">
										<select name="mcgUser[sex]" class="selectpicker form-control">
											<option value="1">男</option>
											<option value="2">女</option>
										</select>
								</div>
								
								<label class="col-sm-1 control-label">状态</label>
								<div class="col-sm-4">
									<div class="fg-line">
										<select name="mcgUser[status]" class="selectpicker form-control">
											<option value="1">有效</option>
											<option value="0">禁用</option>
										</select>
									</div>
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-2 control-label">手机号</label>
								<div class="col-sm-4">
									<div class="fg-line">
										<input type="text" name="mcgUser[phone]" class="form-control" placeholder="请填写手机号" />
									</div>
								</div>
								
								<label class="col-sm-1 control-label">邮箱</label>
								<div class="col-sm-4">
									<div class="fg-line">
										<input type="text" name="mcgUser[email]" class="form-control" placeholder="请填写邮箱" />
									</div>
								</div>
							</div>
							
						</div>
								
					</div>
				</div>
			</form>
		</div>
	</div>
</div>	